enqueueScripts([function(){ (window.webpackJsonptfctov_react_theme_colibri_1_0_224=window.webpackJsonptfctov_react_theme_colibri_1_0_224||[]).push([["HeaderKwankoTag"],{0:function(t,e){t.exports=React},10:function(t,e){t.exports=__RENDER_8_RUNTIME__},49:function(t,e,c){"use strict";c.r(e),function(t){var e=c(2);c.p=Object(e.getPublicPath)("tfctov.react-theme-colibri@1.0.224");var r=Object(e.register)((function(){return c(50)}),t,"tfctov.react-theme-colibri@1.0.224","tfctov.react-theme-colibri@1.x","HeaderKwankoTag");r.renderHotReload,r.setupHMR}.call(this,c(6)(t))},50:function(t,e,c){"use strict";c.r(e);var r=c(0),o=c.n(r),i=c(10);e.default=function(){return o.a.createElement(i.Helmet,null,o.a.createElement("script",{type:"text/javascript",src:"https://img.metaffiliation.com/u/16/p77137.js"}))}}},[[49,"common"]]]); },function(){ (window.webpackJsonptfctov_react_theme_colibri_1_0_224=window.webpackJsonptfctov_react_theme_colibri_1_0_224||[]).push([[0],{23:function(e,t,r){"use strict";e.exports=r(41)},24:function(e,t,r){"use strict";var n=r(23),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return n.isMemo(e)?a:s[e.$$typeof]||i}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var l=Object.defineProperty,u=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(p){var i=h(r);i&&i!==p&&e(t,i,n)}var a=u(r);f&&(a=a.concat(f(r)));for(var s=c(t),m=c(r),g=0;gn&&(n=(t=t.trim()).charCodeAt(0)),n){case 38:return t.replace(m,"$1"+e.trim());case 58:return e.trim()+t.replace(m,"$1"+e.trim());default:if(0<1*r&&0c.charCodeAt(8))break;case 115:a=a.replace(c,"-webkit-"+c)+";"+a;break;case 207:case 102:a=a.replace(c,"-webkit-"+(102s.charCodeAt(0)&&(s=s.trim()),s=[s],0h)&&(M=(X=X.replace(" ",":")).length),01)for(var r=1;r1?t-1:0),n=1;n0?" Args: "+r.join(", "):""))}var E=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,r=0;r=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,i=n;e>=i;)(i<<=1)<0&&C(16,""+e);this.groupSizes=new Uint32Array(i),this.groupSizes.set(r),this.length=i;for(var o=n;o=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),i=n+r,o=n;o=x&&(x=t+1),P.set(e,t),O.set(t,e)},R="style["+w+'][data-styled-version="5.3.11"]',j=new RegExp("^"+w+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),N=function(e,t,r){for(var n,i=r.split(","),o=0,a=i.length;o=0;r--){var n=t[r];if(n&&1===n.nodeType&&n.hasAttribute(w))return n}}(r),o=void 0!==i?i.nextSibling:null;n.setAttribute(w,"active"),n.setAttribute("data-styled-version","5.3.11");var a=V();return a&&n.setAttribute("nonce",a),r.insertBefore(n,o),n},z=function(){function e(e){var t=this.element=$(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,n=t.length;r=0){var r=document.createTextNode(t),n=this.nodes[e];return this.element.insertBefore(r,n||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e0&&(l+=e+",")})),n+=""+s+c+'{content:"'+l+'"}/*!sc*/\n'}}}return n}(this)},e}(),G=/(a)(d)/gi,H=function(e){return String.fromCharCode(e+(e>25?39:97))};function W(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=H(t%52)+r;return(H(t%52)+r).replace(G,"$1-$2")}var Y=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},U=function(e){return Y(5381,e)};function q(e){for(var t=0;t>>0);if(!t.hasNameForId(n,a)){var s=r(o,"."+a,void 0,n);t.insertRules(n,a,s)}i.push(a),this.staticRulesId=a}else{for(var c=this.rules.length,l=Y(this.baseHash,r.hash),u="",f=0;f>>0);if(!t.hasNameForId(n,m)){var g=r(u,"."+m,void 0,n);t.insertRules(n,m,g)}i.push(m)}}return i.join(" ")},e}(),K=/^\s*\/\/.*$/gm,Q=[":","[",".","#"];function ee(e){var t,r,n,i,o=void 0===e?y:e,a=o.options,s=void 0===a?y:a,l=o.plugins,u=void 0===l?g:l,f=new c.a(s),d=[],h=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(r,n,i,o,a,s,c,l,u,f){switch(r){case 1:if(0===u&&64===n.charCodeAt(0))return e(n+";"),"";break;case 2:if(0===l)return n+"/*|*/";break;case 3:switch(l){case 102:case 112:return e(i[0]+n),"";default:return n+(0===f?"/*|*/":"")}case-2:n.split("/*|*/}").forEach(t)}}}((function(e){d.push(e)})),p=function(e,n,o){return 0===n&&-1!==Q.indexOf(o[r.length])||o.match(i)?e:"."+t};function m(e,o,a,s){void 0===s&&(s="&");var c=e.replace(K,""),l=o&&a?a+" "+o+" { "+c+" }":c;return t=s,r=o,n=new RegExp("\\"+r+"\\b","g"),i=new RegExp("(\\"+r+"\\b){2,}"),f(a||!o?"":o,l)}return f.use([].concat(u,[function(e,t,i){2===e&&i.length&&i[0].lastIndexOf(r)>0&&(i[0]=i[0].replace(n,p))},h,function(e){if(-2===e){var t=d;return d=[],t}}])),m.hash=u.length?u.reduce((function(e,t){return t.name||C(15),Y(e,t.name)}),5381).toString():"",m}var te=o.a.createContext(),re=(te.Consumer,o.a.createContext()),ne=(re.Consumer,new B),ie=ee();function oe(){return Object(i.useContext)(te)||ne}function ae(){return Object(i.useContext)(re)||ie}function se(e){var t=Object(i.useState)(e.stylisPlugins),r=t[0],n=t[1],a=oe(),c=Object(i.useMemo)((function(){var t=a;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target]),l=Object(i.useMemo)((function(){return ee({options:{prefix:!e.disableVendorPrefixes},plugins:r})}),[e.disableVendorPrefixes,r]);return Object(i.useEffect)((function(){s()(r,e.stylisPlugins)||n(e.stylisPlugins)}),[e.stylisPlugins]),o.a.createElement(te.Provider,{value:c},o.a.createElement(re.Provider,{value:l},e.children))}var ce=function(){function e(e,t){var r=this;this.inject=function(e,t){void 0===t&&(t=ie);var n=r.name+t.hash;e.hasNameForId(r.id,n)||e.insertRules(r.id,n,t(r.rules,n,"@keyframes"))},this.toString=function(){return C(12,String(r.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=ie),this.name+e.hash},e}(),le=/([A-Z])/,ue=/([A-Z])/g,fe=/^ms-/,de=function(e){return"-"+e.toLowerCase()};function he(e){return le.test(e)?e.replace(ue,de).replace(fe,"-ms-"):e}var pe=function(e){return null==e||!1===e||""===e};function me(e,t,r,n){if(Array.isArray(e)){for(var i,o=[],a=0,s=e.length;a1?t-1:0),n=1;n?@[\\\]^`{|}~-]+/g,Se=/(^-|-$)/g;function we(e){return e.replace(be,"-").replace(Se,"")}var ke=function(e){return W(U(e)>>>0)};function Ae(e){return"string"==typeof e&&!0}var Ce=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},Ee=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function Pe(e,t,r){var n=e[r];Ce(t)&&Ce(n)?Oe(n,t):e[r]=t}function Oe(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n=0||(i[r]=e[r]);return i}(t,["componentId"]),o=n&&n+"-"+(Ae(e)?e:we(b(e)));return Ie(e,h({},i,{attrs:k,componentId:o}),r)},Object.defineProperty(C,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=n?Oe({},e.defaultProps,t):t}}),Object.defineProperty(C,"toString",{value:function(){return"."+C.styledComponentId}}),a&&d()(C,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),C}var Te=function(e){return function e(t,r,i){if(void 0===i&&(i=y),!Object(n.isValidElementType)(r))return C(1,String(r));var o=function(){return t(r,i,ye.apply(void 0,arguments))};return o.withConfig=function(n){return e(t,r,h({},i,{},n))},o.attrs=function(n){return e(t,r,h({},i,{attrs:Array.prototype.concat(i.attrs,n).filter(Boolean)}))},o}(Ie,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){Te[e]=Te(e)}));!function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=q(e),B.registerId(this.componentId+1)}var t=e.prototype;t.createStyles=function(e,t,r,n){var i=n(me(this.rules,t,r,n).join(""),""),o=this.componentId+e;r.insertRules(o,o,i)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,r,n){e>2&&B.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,t,r,n)}}();!function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=V();return""},this.getStyleTags=function(){return e.sealed?C(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return C(2);var r=((t={})[w]="",t["data-styled-version"]="5.3.11",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),n=V();return n&&(r.nonce=n),[o.a.createElement("style",h({},r,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new B({isServer:!0}),this.sealed=!1}var t=e.prototype;t.collectStyles=function(e){return this.sealed?C(2):o.a.createElement(se,{sheet:this.instance},e)},t.interleaveWithNodeStream=function(e){return C(3)}}();t.a=Te}).call(this,r(40))}}]); },function(){ (window.webpackJsonptfctov_react_theme_colibri_1_0_224=window.webpackJsonptfctov_react_theme_colibri_1_0_224||[]).push([[1],{3:function(n,t,e){"use strict";e.d(t,"r",(function(){return z})),e.d(t,"d",(function(){return E})),e.d(t,"h",(function(){return C})),e.d(t,"l",(function(){return _})),e.d(t,"a",(function(){return O})),e.d(t,"c",(function(){return F})),e.d(t,"p",(function(){return $})),e.d(t,"j",(function(){return M})),e.d(t,"i",(function(){return D})),e.d(t,"q",(function(){return B})),e.d(t,"k",(function(){return J})),e.d(t,"m",(function(){return X})),e.d(t,"f",(function(){return Z})),e.d(t,"e",(function(){return q})),e.d(t,"n",(function(){return A})),e.d(t,"s",(function(){return S})),e.d(t,"o",(function(){return G})),e.d(t,"b",(function(){return H})),e.d(t,"g",(function(){return I}));var r=e(7),i=e(8);function o(){var n=Object(r.a)(["\n\n @media (min-width:768px) {\n display:none !important;\n }\n\n position: fixed;\n bottom:0;\n width:100%;\n background-color:#fff;\n\n box-shadow: 5px 3px 6px #000;\n display: flex; \n align-items:center;\n justify-content: space-between;\n gap: 1rem;\n padding: 1rem;\n background-color#:fff;\n z-index:2;\n\n opacity: ",";\n visibility: ",";\n transition: opacity 0.5s ease, visibility 0.5s ease;\n\n p {\n margin:0\n }\n\n p.list-price {\n text-decoration: line-through;\n color: #cecece;\n font-size:15px;\n\n }\n p.spot-price {\n color:var(--brown-primary);\n font-weight: bold;\n font-size:21px;\n display:flex;\n align-items:center;\n gap:.3rem;\n\n\n span.pix-text {\n color: #000;\n font-weight: 300;\n font-size: 14px;\n\n }\n }\n @media (max-width:360px) {\n p.spot-price {\n font-size:19px;\n } \n }\n @media (max-width:340px) {\n p.spot-price {\n font-size:17px;\n } \n span.pix-text {\n font-size:12px;\n }\n }\n p.installments {\n color:#ddab08;\n font-size:14px;\n\n span {\n font-weight: bold;\n }\n }\n button {\n height:35px;\n border-radius:6px;\n display:flex;\n justify-content:center;\n align-items:center;\n width:115px;\n background-color:#5d984d;\n border:none;\n color:#fff;\n font-size: 18px;\n cursor:poiter;\n\n @media (max-width:360px) {\n width:34%;\n }\n }\n"]);return o=function(){return n},n}function a(){var n=Object(r.a)(["\n cursor: pointer;\n margin-top: 2rem;\n background-color: var(--brown-primary); \n color: #fff;\n font-size: 18px;\n padding: .4rem 1rem;\n border: none;\n border-radius: 4px;\n"]);return a=function(){return n},n}function d(){var n=Object(r.a)(["\n\n max-height: ",";\n overflow: hidden; \n transition: all .3s ease;\n\n"]);return d=function(){return n},n}function c(){var n=Object(r.a)(["\n\n background-color: ",";\n * {\n color: ",";\n font-size: ",";\n }\n"]);return c=function(){return n},n}function p(){var n=Object(r.a)(["\n display: flex;\n align-items: center;\n"]);return p=function(){return n},n}function l(){var n=Object(r.a)(["\n max-width: 1150px;\n margin-inline: auto;\n display: flex;\n justify-content: center;\n background: transparent;\n border:3px solid #8C0E0E;\n padding: 1.5rem;\n display: flex;\n align-items: center;\n justify-content: space-between;\n border-radius: 8px;\n\n h1,h3,p {\n margin: 0;\n }\n a {\n text-decoration: none;\n }\n\n @media (max-width:900px) {\n flex-direction: column;\n gap: 2rem;\n }\n \n >div{\n &:nth-child(1) {\n flex: 1;\n text-align: center;\n\n @media (max-width:760px) {\n width: 100%;\n }\n\n >div {\n &:nth-child(1) {\n \n h1 {\n font: normal normal 800 32px/39px Montserrat;\n color: #8C0E0E;\n }\n \n h3 {\n font: normal normal 500 20px/34px Montserrat;\n padding-top: .6rem;\n padding-bottom: 1rem;\n color: #000;\n }\n }\n &:nth-child(2) {\n display: flex;\n justify-content: center;\n align-items: center;\n\n p {\n font: normal normal 700 32px/39px Montserrat;\n display: flex;\n flex-direction: column;\n background-color: #fff;\n padding: 1rem;\n color: #8C0E0E;\n border-radius: 4px;\n\n @media (max-width:760px) {\n font-size: 26px;\n padding: 0.2rem;\n }\n \n span {\n color: #737373;\n font: normal normal 500 12px/14px Montserrat;\n }\n }\n\n span {\n font: normal normal 700 32px/39px Montserrat;\n color: #8C0E0E;\n padding-inline: .5rem;\n\n @media (max-width:760px) {\n padding-inline: .2rem;\n font-size: 26px;\n }\n }\n }\n }\n\n }\n &:nth-child(2) {\n flex: 1;\n background-color: #fff;\n padding: 0.5rem;\n\n @media (max-width:900px) {\n flex-direction: column;\n max-width: 348px;\n padding: 1rem;\n }\n\n img {\n max-width: 200px;\n }\n\n >div {\n width: 100%;\n text-align: center;\n\n &:nth-child(1) {\n flex-basis: 50%;\n p {\n background-color: #E31515;\n color: #fff;\n font: normal normal 600 14px/17px Montserrat;\n border-radius: 4px;\n padding: .4rem;\n max-width: fit-content;\n \n }\n }\n &:nth-child(2) {\n margin-top: 32px;\n\n h3 {\n font: normal normal 600 16px/20px Montserrat;\n color: #2E2E2E;\n }\n >div:nth-child(2) {\n padding-top: .75rem;\n p{\n font: normal normal 600 16px/20px Montserrat;\n\n &:not(:has(.timer-spot-price)) {\n color: #CECECE;\n span {\n text-decoration: line-through;\n }\n }\n\n \n &.timer-spot-price {\n padding: .25rem 0 1rem 0;\n color: #000;\n span {\n font: normal normal 700 36px/44px Montserrat;\n text-decoration: none;\n }\n }\n }\n }\n\n button {\n font: normal normal 700 16px/16px Montserrat;\n width: 100%;\n border: none;\n background-color: #5B340F;\n color: #fff;\n border-radius: 4px;\n padding: 1rem;\n cursor: pointer;\n transition: font-size .23s ease-in;\n\n &:hover {\n font-size: 17px;\n }\n }\n }\n }\n }\n}\n\n"]);return l=function(){return n},n}function f(){var n=Object(r.a)(["\n background-color:#F8F8F8;\n padding-top: 4rem;\n padding-bottom: 1.5rem;\n\n @media (max-width:900px) {\n padding-inline: 1.4rem;\n }\n"]);return f=function(){return n},n}function u(){var n=Object(r.a)(["\ncolor: #737373;\n margin: 0;\n background-image: url(https://tfctov.vtexassets.com/assets/vtex/assets-builder/tfctov.store-theme/6.1.2025/imgs/product/icons/tag___5a5b22bc251b0e3cd89d503e2d6b5271.jpg);\n background-repeat: no-repeat;\n background-size: contain;\n width: 46px;\n text-align: center;\n height: 32px;\n font-size: 12px;\n display: flex;\n justify-content: center;\n align-items: center;\n background-position-y: 76%;\n span {\n padding-left: .5rem;\n color: #fff;\n display: flex;\n padding-top: 0.3rem;\n height: 100%;\n align-items: center;\n justify-content: center;\n }\n"]);return u=function(){return n},n}function s(){var n=Object(r.a)(['\n display: flex;\n align-items: center;\n justify-content: center;\n gap: .5rem;\n background-color: #5b340f;\n color: #fff;\n padding: 1rem 0;\n\n &::before {\n content: "";\n width: 18px;\n height: 18px;\n display: inline-block;\n background: center/contain url(https://tfctov.vtexassets.com/assets/vtex/assets-builder/tfctov.store-theme/5.1.175/imgs/header/icons/icon-user___5b64a592f348ef244b640fea73daa691.png) no-repeat;\n filter: brightness(100);\n }\n']);return s=function(){return n},n}function x(){var n=Object(r.a)(["\n >div {\n color: ",";\n background-color:",";\n \n div {\n font-size: ",";\n font-weight: 400;\n }\n }\n \n"]);return x=function(){return n},n}function m(){var n=Object(r.a)(["\n img {\n height: 216px;\n width: 216px;\n }\n"]);return m=function(){return n},n}function g(){var n=Object(r.a)(["\n\n @media (min-width:768px) {\n display:none;\n }\n\n text-decoration:none;\n background-color: var(--yellow);\n color:#fff;\n padding: .35rem 1.5rem;\n border-radius:4px;\n display:block;\n text-center;\n width: fit-content;\n margin-inline: auto;\n margin-top:.65rem;\n margin-bottom:.65rem;\n"]);return g=function(){return n},n}function h(){var n=Object(r.a)(["\n .tfctov-react-theme-colibri-1-x-paginationDotsContainer {\n bottom: -2.5rem;\n gap: 1rem;\n\n @media (max-width:768px) {\n display:none !important;\n }\n\n .tfctov-react-theme-colibri-1-x-paginationDot {\n background-color: #E4D8CD;\n width: 10px;\n height: 10px;\n }\n .tfctov-react-theme-colibri-1-x-paginationDot--isActive {\n background-color: ",";\n }\n\n @media (max-width:547px) {\n gap: 0.7rem;\n }\n }\n\n @media (max-width:768px) {\n .tfctov-react-theme-colibri-1-x-slide {\n &:nth-child(odd) {\n .wrapper {\n overflow:hidden;\n border-top-left-radius: 15px;\n border-bottom-left-radius: 15px;\n \n }\n }\n &:nth-child(even) {\n .wrapper {\n overflow:hidden;\n border-top-right-radius: 15px;\n border-bottom-right-radius: 15px;\n \n }\n }\n }\n }\n\n"]);return h=function(){return n},n}function b(){var n=Object(r.a)(["\n height:100%;\n padding: .4rem;\n\n a {\n text-decoration: none;\n color: #000;\n\n h3 {\n font-size: 16px;\n }\n p {\n font-size: 14px;\n }\n\n img {\n width: 100%;\n\n @media (min-width:1024px) {\n min-height: 205px;\n max-height: 205px;\n }\n }\n }\n\n @media (max-width:768px) {\n box-sizing: border-box;\n >a {\n display: flex;\n height: 100%;\n flex-direction: column;\n justify-content: space-between;\n position:relative;\n padding:1rem;\n\n overflow: hidden;\n\n \n }\n h3 {\n color:#fff;\n font-size:13px;\n }\n .read-more-container {\n display: flex;\n align-items: flex-end;\n }\n \n p {\n color:#fff;\n font-size:12px;\n margin:0;\n display: -webkit-box;\n text-overflow: ellipsis;\n line-height: 1.5;\n max-height: 60px;\n overflow: hidden;\n min-height: 60px;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n }\n img {\n position: absolute;\n z-index: -1;\n height: 100%;\n object-fit: cover;\n background: #000;\n inset:0;\n filter: brightness(50%);\n }\n\n .read-more.button {\n background: #fff;\n padding: .35rem 1rem;\n border-radius: 4px;\n }\n }\n"]);return b=function(){return n},n}function v(){var n=Object(r.a)(["\n padding:1rem .7rem;\n width: 78%;\n margin-inline:auto;\n\n @media (max-width:1024px) {\n width: 100%;\n }\n h2 {\n font-weight: 600;\n font-size: 24px;\n }\n\n ul {\n display: grid;\n justify-content: space-between;\n grid-row-gap: 1rem;\n @media (min-width:767px) {\n grid-template-columns: repeat(3,44%);\n }\n\n @media (max-width:766px) {\n grid-template-columns: repeat(2,1fr);\n }\n li {\n width:max-content\n }\n }\n\n"]);return v=function(){return n},n}function w(){var n=Object(r.a)(["\n list-style: none;\n display: flex;\n justify-content: space-between;\n width: 100%;\n padding: 0 2rem !important;\n\n @media (max-width:1024px) {\n padding:0 .5rem!important;\n gap: 1rem;\n overflow-X: auto;\n height: 50px;\n align-items: center;\n width: calc(100% - 70px);\n background-color: #F6F6F6;\n }\n\n li {\n font-weight: 600;\n font-size: 15px;\n transition: color .3s ease;\n cursor: pointer;\n\n @media (max-width:1024px) {\n border-radius: 4px;\n padding: .7rem .5rem;\n }\n &:hover {\n color: #FECC28;\n }\n\n @media (max-width:1024px) {\n &:last-child {\n position: absolute;\n right: 2%;\n background-color: #5B340F;\n border-radius: 20px;\n padding: .6rem;\n color: #fff;\n }\n }\n \n }\n"]);return w=function(){return n},n}function y(){var n=Object(r.a)(["\n width: 100%;\n border: 1px solid #4E4E4E;\n background-color: #DEDEDE4D;\n padding: .6rem 1rem;\n box-sizing: border-box;\n color: #000;\n"]);return y=function(){return n},n}function k(){var n=Object(r.a)(["\n max-width: 1080px;\n margin-inline: auto;\n padding: 1rem;\n\n ul {\n padding: 0;\n list-style: none;\n }\n\n * {\n box-sizing: border-box;\n }\n\n a {\n text-decoration: none;\n color: #6B6B6B;\n font-size: 14px;\n transition: color .2s ease;\n\n &:hover {\n color: #FECC28;\n }\n }\n"]);return k=function(){return n},n}function j(){var n=Object(r.a)(["\n position: fixed;\n right: 3%;\n top: 17%;\n background-color: #fff;\n border-radius: 6px;\n padding: 0 13px;\n display: flex;\n flex-direction: column;\n transform: translateX(",");\n transition: all .25s ease;\n border: 1px solid #00a67d;\n max-width: fit-content;\n\n >div:not(.tfctov-react-theme-colibri-1-x-progress_toast) {\n display: flex;\n align-items: center;\n gap: 10px;\n\n svg {\n max-width: 20px;\n }\n }\n\n .tfctov-react-theme-colibri-1-x-progress_toast {\n min-height: 2px;\n margin-bottom: -1px;\n\n div {\n width: 100%;\n background-color: #00a67d;\n height: 2px;\n margin-inline: auto;\n }\n }\n\n"]);return j=function(){return n},n}var z=i.a.div(j(),(function(n){return n.$active?"0%":"200%"})),E=i.a.div(k()),C=i.a.input(y()),_=i.a.ul(w()),O=i.a.div(v()),F=i.a.div(b()),$=i.a.div(h(),(function(n){return n.$blackFriday?"#FECC28":"#5B340F"})),M=i.a.a(g()),D=i.a.a(m()),B=i.a.div(x(),(function(n){return n.$txtColor?n.$txtColor:"#000"}),(function(n){return n.$backgroundColor?n.$backgroundColor:"#FF7940"}),(function(n){return n.$FZ?n.$FZ:"16px"})),J=i.a.a(s()),X=i.a.p(u()),Z=i.a.div(f()),q=i.a.div(l()),A=i.a.div(p()),S=i.a.div(c(),(function(n){return n.$backgroundColor}),(function(n){return n.$textColor}),(function(n){return n.$fontSize})),G=i.a.div(d(),(function(n){return n.$active?"100%":"332px"})),H=i.a.button(a()),I=i.a.div(o(),(function(n){return n.$active?"1":"0"}),(function(n){return n.$active?"visible":"hidden"}))}}]); },function(){ (window.webpackJsonptfctov_react_theme_colibri_1_0_224=window.webpackJsonptfctov_react_theme_colibri_1_0_224||[]).push([["TimerProduct"],{0:function(e,t){e.exports=React},14:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.order-items@0.x/OrderItems"]},15:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.pixel-manager@1.x/usePixel"]},66:function(e,t,n){"use strict";n.r(t),function(e){var t=n(2);n.p=Object(t.getPublicPath)("tfctov.react-theme-colibri@1.0.224");var a=Object(t.register)((function(){return n(72)}),e,"tfctov.react-theme-colibri@1.0.224","tfctov.react-theme-colibri@1.x","TimerProduct");a.renderHotReload,a.setupHMR}.call(this,n(6)(e))},72:function(e,t,n){"use strict";n.r(t);var a=n(1),l=n(0),r=n.n(l),i=function(e){var t=e.setTimeOver,n=e.titlePromo,i=e.subtitlePromo,c=e.inicialDate,o=e.deadLineDate,u=Object(l.useState)({hours:0,min:0,sec:0}),s=Object(a.a)(u,2),d=s[0],m=s[1],p=(new Date).getTime(),f=c?new Date(c).getTime():null,b=o?new Date(o).getTime():null,E=b?b-p:null;return Object(l.useEffect)((function(){if(f&&f0?(E-=1e3)&&m(Object.assign(Object.assign({},d),{hours:Math.floor(E/36e5),min:Math.floor(E/1e3/60%60),sec:Math.floor(E/1e3%60)})):(clearInterval(e),t(!0))}),1e3);else t(!0)}),[]),r.a.createElement("div",null,r.a.createElement("div",null,r.a.createElement("h1",null,n),r.a.createElement("h3",null,i)),r.a.createElement("div",null,r.a.createElement("p",null,d.hours<0?"00":d.hours<10?"0"+d.hours:d.hours,r.a.createElement("span",null,"HORAS")),r.a.createElement("span",null,":"),r.a.createElement("p",null,d.min<0?"00":d.min<10?"0"+d.min:d.min," ",r.a.createElement("span",null,"Minutos")),r.a.createElement("span",null,":"),r.a.createElement("p",null,d.sec<0?"00":d.sec<10?"0"+d.sec:d.sec," ",r.a.createElement("span",null,"Segundos"))))},c=n(3),o=n(14),u=n(15),s=n.n(u),d=function(e){var t=e.PdpDataCountDown,n=Object(o.useOrderItems)().addItems,a=s()().push;return t&&r.a.createElement(c.n,null,r.a.createElement("div",null,r.a.createElement("a",{href:t.pdpUrl},t.discountPercent&&r.a.createElement("p",null,"- ",r.a.createElement("span",null,t.discountPercent),"% OFF "),r.a.createElement("img",{src:t.pdpImage,loading:"lazy",alt:t.pdpTitle}))),r.a.createElement("div",null,r.a.createElement("div",null,r.a.createElement("h3",null,t.pdpTitle)),r.a.createElement("div",null,t.pdpListPrice>t.pdpSpotPrice&&r.a.createElement("p",null," De: ",r.a.createElement("span",null,t.pdpListPrice)),r.a.createElement("p",{className:"timer-spot-price"},"Por ",r.a.createElement("span",null,t.pdpSpotPrice)," no PIX")),r.a.createElement("div",null,r.a.createElement("button",{style:{background:"var(--green)"},onClick:function(){n([{id:t.id,quantity:1,seller:t.sellerId}]).then((function(){a({event:"cart",id:"add-to-cart-button"})}))}},"Comprar"))))},m=function(e){var t=e.titlePromo,n=e.subtitlePromo,o=e.productUrl,u=e.inicialDate,s=e.deadLineDate,m=Object(l.useState)(!1),p=Object(a.a)(m,2),f=p[0],b=p[1],E=Object(l.useState)({id:null,serllerId:null,pdpUrl:null,pdpImage:void 0,pdpListPrice:null,pdpSpotPrice:null,pdpTitle:void 0,pdpQtdStock:0,discountPercent:null}),O=Object(a.a)(E,2),v=O[0],P=O[1],h=Object(l.useState)({inicialDate:"",deadLineDate:""}),D=Object(a.a)(h,2),g=D[0],_=D[1],j=new Intl.NumberFormat("pt-BR",{style:"currency",currency:"BRL"});function S(e){if(e){var t=/(\d{2})\/(\d{2})\/(\d{4}) - (\d{2}):(\d{2})/.exec(e);return t?"".concat(t[3],"-").concat(t[2],"-").concat(t[1],"T").concat(t[4],":").concat(t[5]):null}return null}return Object(l.useEffect)((function(){if(o)try{fetch("/api/catalog_system/pub/products/search/".concat(o,"/p")).then((function(e){return e.json()})).then((function(e){var t=e[0],n=t.items[0].itemId,a=t.items[0].sellers[0].sellerId,l=t.link;console.log(l);var r=t.items[0].images[0].imageUrl,i=t.items[0].sellers[0].commertialOffer.ListPrice,c=t.items[0].sellers[0].commertialOffer.Installments.filter((function(e){return"Pix"===e.PaymentSystemName}))[0].Value,o=t.productName,u=t.items[0].sellers[0].commertialOffer.AvailableQuantity,s=i>c?Math.round(100-100*c/i):null;P((function(e){return Object.assign(Object.assign({},e),{id:n,sellerId:a,pdpUrl:l,pdpImage:r,pdpListPrice:j.format(i),pdpSpotPrice:j.format(c),pdpTitle:o,pdpQtdStock:u,discountPercent:s})}))})).catch((function(e){return console.log(e)}))}catch(e){console.error(e)}}),[o]),Object(l.useEffect)((function(){""!==u&&""!==s&&_(Object.assign(Object.assign({},g),{inicialDate:S(u),deadLineDate:S(s)}))}),[u,s]),!f&&v.pdpQtdStock>0&&""!==g.deadLineDate&&""!==g.inicialDate&&r.a.createElement(c.f,null,r.a.createElement(c.e,null,r.a.createElement(i,{setTimeOver:b,titlePromo:t,subtitlePromo:n,inicialDate:g.inicialDate,deadLineDate:g.deadLineDate}),r.a.createElement(d,{PdpDataCountDown:v})))};t.default=m;m.schema={title:"CountDown",description:"Product Count Down",type:"object",properties:{titlePromo:{title:"Título Oferta",description:"Titulo h1 Oferta",type:"string",default:"Oferta do dia"},subtitlePromo:{title:"Subtitulo Oferta",description:"Subtitulo h3 Oferta",type:"string",default:"Aproveite! Essa oferta acaba em:"},productUrl:{title:"Url do Produto",description:"Url do produto exemplo: creme-de-avela-balde-3kg-nutella",type:"string"},inicialDate:{title:"Data inicial",description:"Data inicial. No exemplo: 20/01/2024 - 16:14",type:"string",default:null},deadLineDate:{title:"Data final",description:"Data final. No exemplo: 21/01/2024 - 16:14",type:"string",default:null}}}}},[[66,"common",0,1]]]); },function(){ (window.webpackJsonptfctov_react_theme_colibri_1_0_224=window.webpackJsonptfctov_react_theme_colibri_1_0_224||[]).push([["TopBenefitsCustom"],{0:function(e,t){e.exports=React},12:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.slider-layout@0.x/SliderLayout"]},67:function(e,t,o){"use strict";o.r(t),function(e){var t=o(2);o.p=Object(t.getPublicPath)("tfctov.react-theme-colibri@1.0.224");var i=Object(t.register)((function(){return o(68)}),e,"tfctov.react-theme-colibri@1.0.224","tfctov.react-theme-colibri@1.x","TopBenefitsCustom");i.renderHotReload,i.setupHMR}.call(this,o(6)(e))},68:function(e,t,o){"use strict";o.r(t);var i=o(1),n=o(0),r=o.n(n),c=o(12),s=o.n(c),a=o(3),f=function(e){var t=e.backgroundContainer,o=e.textColor,c=e.fontSizeBenefits,f=e.children,l=Object(n.useState)({bg:t,txt:o,fz:c}),p=Object(i.a)(l,2),u=p[0];p[1];return r.a.createElement(a.s,{$backgroundColor:u.bg,$textColor:u.txt,$fontSize:u.fz},r.a.createElement(s.a,{showPaginationDots:"never",showNavigationArrows:"never",itemsPerPage:{desktop:1,tablet:1,phone:1},infinite:!1},f.map((function(e){return e}))))};t.default=f,f.schema={title:"Top Benefits",description:"Top Benefits Colors",type:"object",properties:{backgroundContainer:{title:"Background Color",description:"Cor do container de beneficios, ex: #000",type:"string"},textColor:{title:"Text Colors",description:"Cor dos textos de beneficios, ex: #000",type:"string"},fontSizeBenefits:{title:"Text font size",description:"Tamanho dos textos de beneficios ex: 16px | 0.855rem | 0.855 em | etc...",type:"string"}}}}},[[67,"common",0,1]]]); },function(){ (window.webpackJsonptfctov_react_theme_colibri_1_0_224=window.webpackJsonptfctov_react_theme_colibri_1_0_224||[]).push([["OfertasCustom"],{0:function(t,e){t.exports=React},57:function(t,e,o){"use strict";o.r(e),function(t){var e=o(2);o.p=Object(e.getPublicPath)("tfctov.react-theme-colibri@1.0.224");var r=Object(e.register)((function(){return o(58)}),t,"tfctov.react-theme-colibri@1.0.224","tfctov.react-theme-colibri@1.x","OfertasCustom");r.renderHotReload,r.setupHMR}.call(this,o(6)(t))},58:function(t,e,o){"use strict";o.r(e);var r=o(1),i=o(0),c=o.n(i),n=o(3),s=function(t){var e=t.backgroundColor,o=t.textColor,s=t.fontSize,a=t.children,l=Object(i.useState)({txt:o,bgColor:e,fz:s}),f=Object(r.a)(l,2),d=f[0];f[1];return c.a.createElement(n.q,{$backgroundColor:d.bgColor,$txtColor:d.txt,$FZ:d.fz},a)};e.default=s,s.schema={title:"Link Header",description:"Link Ofertas Header",type:"object",properties:{backgroundColor:{title:"Background Color",description:"Cor do container de beneficios, ex: #000",type:"string"},textColor:{title:"Text Colors",description:"Cor dos textos de beneficios, ex: #000",type:"string"},fontSize:{title:"Text font size",description:"Tamanho dos textos de beneficios ex: 16px | 0.855rem | 0.855 em | etc...",type:"string"}}}}},[[57,"common",0,1]]]); },function(){ !function(t){function e(e){for(var r,u,c=e[0],a=e[1],f=e[2],s=0,p=[];s3&&void 0!==arguments[3]?arguments[3]:"/",o="";if(n&&n>0){var i=new Date;i.setTime((new Date).getTime()+n),o="expires=".concat(i.toUTCString(),";")}document.cookie="".concat(e,"=").concat(encodeURIComponent(t),";").concat(o,"path=").concat(r)}var f=function(){function e(t){Object(a.a)(this,e),this.client=t,this.historyKey="biggy-search-history"}var t,n,r;return Object(s.a)(e,[{key:"topSearches",value:(r=Object(i.a)(o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.client.query({query:d.a}));case 1:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})},{key:"suggestionSearches",value:(n=Object(i.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.client.query({query:p.a,variables:{fullText:t}}));case 1:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},{key:"suggestionProducts",value:(t=Object(i.a)(o.a.mark((function e(t,n,r){var i,a,s,c,l,p,m,d=arguments;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=d.length>3&&void 0!==d[3]&&d[3],a=d.length>4&&void 0!==d[4]?d[4]:"default",s=d.length>5&&void 0!==d[5]&&d[5],c=d.length>6?d[6]:void 0,l=d.length>7?d[7]:void 0,p=d.length>8?d[8]:void 0,m=d.length>9?d[9]:void 0,e.abrupt("return",this.client.query({query:u.a,variables:{simulationBehavior:a,advertisementOptions:m,hideUnavailableItems:s,orderBy:c,fullText:t,facetKey:n,facetValue:r,productOriginVtex:i,count:l,shippingOptions:p,variant:h("sp-variant"),origin:"autocomplete"},fetchPolicy:"network-only"}));case 8:case"end":return e.stop()}}),e,this)}))),function(e,n,r){return t.apply(this,arguments)})},{key:"searchHistory",value:function(){return(h(this.historyKey)||"").split(",").filter((function(e){return!!e}))}},{key:"prependSearchHistory",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5;if(null!=e&&""!==e.trim()){var n=this.searchHistory();n.indexOf(e)<0&&(n.unshift(e),n=n.slice(0,t)),v(this.historyKey,n.join(","))}}}]),e}()},,,function(e,t){e.exports=regeneratorRuntime},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.styleguide@9.x/IconClose"]},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.styleguide@9.x/IconClock"]},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.product-list-context@0.x/ProductListContext"]},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.device-detector@0.x/withDevice"]},function(e,t){function n(e,t,n){var r,o,i,a,s;function c(){var u=Date.now()-a;u=0?r=setTimeout(c,t-u):(r=null,n||(s=e.apply(i,o),i=o=null))}null==t&&(t=100);var u=function(){i=this,o=arguments,a=Date.now();var u=n&&!r;return r||(r=setTimeout(c,t)),u&&(s=e.apply(i,o),i=o=null),s};return u.clear=function(){r&&(clearTimeout(r),r=null)},u.flush=function(){r&&(s=e.apply(i,o),i=o=null,clearTimeout(r),r=null)},u}n.debounce=n,e.exports=n},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.pixel-manager@1.x/PixelContext"]},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.styleguide@9.x/Spinner"]},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.product-summary@2.x/ProductSummaryCustom"]},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.product-price@1.x/SellingPrice"]},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.product-price@1.x/ListPrice"]},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.product-context@0.x/ProductContextProvider"]},,,,,function(e,t,n){"use strict";n.r(t),function(e){var t=n(4);n.p=Object(t.getPublicPath)("vtex.search@2.18.8");var r=Object(t.register)((function(){return n(46)}),e,"vtex.search@2.18.8","vtex.search@2.x","Autocomplete");r.renderHotReload,r.setupHMR}.call(this,n(16)(e))},,,,,,function(e,t,n){"use strict";n.r(t);var r=n(1),o=n.n(r),i=n(5),a=n(9),s=n(10),c=n(23),u=n(22),l=n(13),p=n(0),m=n.n(p),d=n(7),h=n(3),v=n(25),f=n.n(v),g=n(26),x=n.n(g),y=n(27),E=n.n(y),_=n(28),k=n.n(_),b=n(29),S=n.n(b),L=n(30),O=n(21),P=n(14),N=n.n(P),T=n(2),w=n(31),I=n.n(w),C=n(32),M=n.n(C),R=n(11),H=n.n(R),j=n(33),D=n.n(j),F=n(34),V=n.n(F),q=n(35),A=n.n(q),W=n(12),U=n.n(W),B=function(e){var t,n,r,o,i=e.product,a=e.onClick,s=null==i?void 0:i.sku,c=null===(r=null===(n=null===(t=null==s?void 0:s.sellers)||void 0===t?void 0:t[0])||void 0===n?void 0:n.commertialOffer)||void 0===r?void 0:r.taxPercentage;return m.a.createElement("div",null,m.a.createElement(T.Link,{params:{slug:null==i?void 0:i.linkText,id:null==i?void 0:i.productId},page:"store.product",className:"no-underline",onClick:a},m.a.createElement("article",{className:"".concat(U.a.element," flex flex-row justify-start items-center pa3 bg-animate hover-bg-light-gray")},m.a.createElement("div",{className:"".concat(U.a.imageContainer," h3")},m.a.createElement("img",{className:"".concat(U.a.image," h-100 w-auto mw-none"),src:null===(o=null==s?void 0:s.image)||void 0===o?void 0:o.imageUrl})),m.a.createElement("div",{className:"".concat(U.a.information," flex flex-column justify-between items-start ml4")},m.a.createElement("div",{className:U.a.productNameContainer},m.a.createElement("span",{className:"".concat(U.a.productBrand," f5 c-on-base")},i.productName)),m.a.createElement("div",{className:U.a.priceContainer},m.a.createElement(A.a,{product:i,query:{skuId:null==s?void 0:s.itemId}},m.a.createElement("span",{className:"db f7 c-muted-2"},m.a.createElement(V.a,{message:c?"{listPriceWithTax}":"{listPriceValue}"})),m.a.createElement("span",{className:"dib t-small c-muted-2"},m.a.createElement(D.a,{message:c?"{sellingPriceWithTax}":"{sellingPriceValue}"}))))))))},z=function(e){var t=e.term,n=e.title,r=e.products,o=e.showTitle,i=e.totalProducts,a=e.layout,s=e.isLoading,c=e.onProductClick,u=e.onSeeAllClick,l=e.HorizontalProductSummary,p=e.customPage,d=e.searchId;return 0!==r.length||s?m.a.createElement("section",{className:H.a.tileList,"data-af-element":d?"search-autocomplete":void 0,"data-af-onimpression":!!d||void 0,"data-af-search-id":d},o?m.a.createElement("p",{className:"".concat(H.a.tileListTitle," c-on-base")},n):null,s?m.a.createElement("div",{className:H.a.tileListSpinner},m.a.createElement(I.a,null)):m.a.createElement(m.a.Fragment,null,m.a.createElement("ul",{className:H.a.tileListList,style:{flexDirection:a===re.Horizontal?"column":"row"}},r.map((function(e,n){var r=M.a.mapCatalogProductToProductSummary(e);return m.a.createElement("li",{key:e.productId,className:H.a.tileListItem,"data-af-element":d?"search-autocomplete":void 0,"data-af-onclick":!(!d||!e.productId)||void 0,"data-af-search-id":d,"data-af-product-position":n+1,"data-af-product-id":e.productId,"data-af-product-specification":e.specification},a===re.Horizontal?l?m.a.createElement(l,{product:r,placement:"autocomplete",actionOnClick:function(){c(r.productId,n,t)}}):m.a.createElement(B,{product:r,onClick:function(){c(r.productId,n,t)}}):m.a.createElement(T.ExtensionPoint,{id:"product-summary",product:r,placement:"autocomplete",actionOnClick:function(){c(r.productId,n,t)}}))}))),m.a.createElement("footer",{className:H.a.tileListFooter},i>0?m.a.createElement(T.Link,{query:"map=ft&_q=".concat(t),params:{term:t},page:p||"store.search",className:H.a.tileListSeeMore,onClick:function(){return u(t)}},m.a.createElement(h.FormattedMessage,{id:"store/seeMore",values:{count:i}})):null))):null};var Q=n(6),K=n.n(Q),J=function(e){var t;return(null===(t=e.item)||void 0===t?void 0:t.attributes)?m.a.createElement("ul",{className:K.a.itemListSubList},e.item.attributes.map((function(t,n){return m.a.createElement("li",{key:n,className:"".concat(K.a.itemListSubItem," c-on-base pointer"),onMouseOver:function(n){return e.onMouseOver(n,t)},onFocus:function(n){return e.onMouseOver(n,t)},onMouseOut:function(){return e.onMouseOut()},onBlur:function(){return e.onMouseOut()}},m.a.createElement(T.Link,{className:"".concat(K.a.itemListSubItemLink," c-on-base"),to:"/".concat(e.item.value,"/").concat(t.value),query:"map=ft,".concat(t.key),onClick:function(){e.closeModal(),e.onItemClick(t.label,n)}},t.label))}))):null};function $(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Object(l.a)(e);if(t){var o=Object(l.a)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Object(u.a)(this,n)}}var G=function(e){Object(c.a)(n,e);var t=$(n);function n(){var e;return Object(a.a)(this,n),(e=t.apply(this,arguments)).state={currentTimeoutId:null},e.handleMouseOver=function(t,n){if(t.stopPropagation(),!e.state.currentTimeoutId){var r=setTimeout((function(){e.props.onItemHover&&e.props.onItemHover(n),e.setState({currentTimeoutId:null})}),100);e.setState({currentTimeoutId:r})}},e.handleMouseOut=function(){var t=e.state.currentTimeoutId;t&&(clearTimeout(t),e.setState({currentTimeoutId:null}))},e}return Object(s.a)(n,[{key:"render",value:function(){var e=this;if(0===this.props.items.length&&!this.props.showTitleOnEmpty)return null;var t=this.props.modifier?K.a["itemList--".concat(this.props.modifier)]:"";return p.createElement("article",{className:"".concat(K.a.itemList," ").concat(t)},this.props.showTitle?p.createElement("p",{className:"".concat(K.a.itemListTitle," c-on-base")},this.props.title):null,this.props.items.length>0&&p.createElement("ol",{className:K.a.itemListList},this.props.items.map((function(t,n){var r;return p.createElement("li",{key:t.value,className:"".concat(K.a.itemListItem),onMouseOver:function(n){return e.handleMouseOver(n,t)},onFocus:function(n){return e.handleMouseOver(n,t)},onMouseOut:function(){return e.handleMouseOut()},onBlur:function(){return e.handleMouseOut()}},p.createElement(T.Link,{page:null!==(r=e.props.customPage)&&void 0!==r?r:"store.search",params:{term:t.value},query:"map=ft&_q=".concat(t.value),onClick:function(){return e.props.onItemClick(t.value,n)},className:K.a.itemListLink},t.icon?p.createElement("span",{className:K.a.itemListIcon},t.icon):null,t.prefix?p.createElement("span",{className:K.a.itemListPrefix},t.prefix):null,p.createElement("span",{className:"".concat(K.a.itemListLinkTitle," c-on-base")},t.label)),p.createElement(J,{item:t,onMouseOver:e.handleMouseOver,onMouseOut:e.handleMouseOut,closeModal:e.props.closeModal,onItemClick:e.props.onItemClick}))}))))}}]),n}(p.Component),X=n(36);var Z;function Y(e,t,n){return function(r,o){e({page:t,event:"autocomplete",eventType:n,search:{term:r,position:o}})}}function ee(e,t,n,r,o){try{e({event:"autocomplete",eventType:Z.Search,search:{operator:t,misspelled:n,text:decodeURI(o),match:r}})}catch(i){e({event:"autocomplete",eventType:Z.Search,search:{operator:t,misspelled:n,text:o,match:r}})}}!function(e){e.ProductClick="product_click",e.SearchSuggestionClick="search_suggestion_click",e.TopSearchClick="top_search_click",e.HistoryClick="history_click",e.Search="search",e.SeeAllClick="see_all_click"}(Z||(Z={}));var te=function(){var e=Object(i.a)(o.a.mark((function e(t){var n,r,i,a,s,c,u;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(a=new Headers).append("Content-Type","application/json"),s={method:"GET",headers:a,redirect:"follow"},e.next=5,fetch("".concat(t||"","/api/sessions?items=public.shippingOption"),s);case 5:return c=e.sent,e.next=8,c.json();case 8:if(u=e.sent,null===(i=null===(r=null===(n=null==u?void 0:u.namespaces)||void 0===n?void 0:n.public)||void 0===r?void 0:r.shippingOption)||void 0===i?void 0:i.value){e.next=11;break}return e.abrupt("return",null);case 11:return e.abrupt("return",JSON.parse(u.namespaces.public.shippingOption.value));case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();function ne(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Object(l.a)(e);if(t){var o=Object(l.a)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Object(u.a)(this,n)}}var re;!function(e){e.Horizontal="HORIZONTAL",e.Vertical="VERTICAL"}(re||(re={}));var oe,ie=E.a.ProductListProvider,ae=function(e){Object(c.a)(l,e);var t,n,r,u=ne(l);function l(e){var t;return Object(a.a)(this,l),(t=u.call(this,e)).state={topSearchedItems:[],history:[],products:[],suggestionItems:[],totalProducts:0,queryFromHover:{},dynamicTerm:"",isProductsLoading:!1,currentHeightWhenOpen:0,searchId:""},t.handleItemHover=function(e){"groupValue"in e?(t.setState({dynamicTerm:e.groupValue,queryFromHover:{key:e.key,value:e.value}}),t.updateProducts(e.groupValue)):(t.setState({dynamicTerm:e.value,queryFromHover:{key:void 0,value:void 0}}),t.updateProducts(e.value))},t.getProductLayout=function(){var e=t.props,n=e.productLayout,r=e.isMobile;return void 0!==n?n:r?re.Horizontal:re.Vertical},t.client=new O.a(t.props.client),t.autocompleteRef=m.a.createRef(),t.isIOS=navigator&&!!navigator.userAgent.match(/(iPod|iPhone|iPad)/),t}return Object(s.a)(l,[{key:"fitAutocompleteInWindow",value:function(){if(window&&this.autocompleteRef.current&&this.props.isMobile&&!this.isIOS){var e=window.innerHeight,t=this.autocompleteRef.current.getBoundingClientRect().y,n=this.autocompleteRef.current.offsetHeight,r=n-(t+n-e);this.autocompleteRef.current.style.maxHeight="".concat(r,"px")}}},{key:"addEvents",value:function(){window.addEventListener("resize",S()(this.fitAutocompleteInWindow.bind(this),100))}},{key:"componentDidMount",value:function(){this.updateTopSearches(),this.updateHistory(),this.addEvents()}},{key:"shouldUpdate",value:function(e){return e.inputValue!==this.props.inputValue||!e.isOpen&&this.props.isOpen}},{key:"addTermToHistory",value:function(){var e=window.location.href.split("_q=");if(e[1]){var t=e[1].split("&")[0];try{return this.client.prependSearchHistory(decodeURI(t))}catch(e){return this.client.prependSearchHistory(t)}}}},{key:"closeModal",value:function(){this.props.closeMenu&&this.props.closeMenu()}},{key:"componentDidUpdate",value:function(e){var t=this;if(this.shouldUpdate(e)){this.addTermToHistory(),this.fitAutocompleteInWindow();var n=this.props.inputValue;this.setState({dynamicTerm:n,queryFromHover:void 0}),null===n||""===n?(this.updateTopSearches(),this.updateHistory(),this.setState({suggestionItems:[],products:[]})):this.updateSuggestions().then((function(){return t.fitAutocompleteInWindow(),t.updateProducts(n)})).then((function(){return t.fitAutocompleteInWindow()}))}}},{key:"highlightTerm",value:function(e,t){var n=e.split(t);return m.a.createElement(m.a.Fragment,null,n.map((function(e,r){return m.a.createElement(m.a.Fragment,null,e,r!==n.length-1?m.a.createElement("span",{className:"b"},t):null)})))}},{key:"updateSuggestions",value:(r=Object(i.a)(o.a.mark((function e(){var t,n,r,i,a,s,c=this;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.client.suggestionSearches(this.props.inputValue);case 2:t=e.sent,n=t.data.autocompleteSearchSuggestions.searches,r=this.props.maxSuggestedTerms,i=void 0===r?5:r,a=n.slice(0,i).map((function(e){var t=e.attributes||[];return{term:e.term,attributes:t.map((function(t){return{label:t.labelValue,value:t.value,link:"/".concat(e.term,"/").concat(t.value,"/?map=ft,").concat(t.key),groupValue:e.term,key:t.key}}))}})),s=a.map((function(e){return{label:c.highlightTerm(e.term.toLowerCase(),c.props.inputValue.toLocaleLowerCase()),value:e.term,groupValue:e.term,link:"/".concat(e.term,"?map=ft"),attributes:e.attributes}})),this.setState({suggestionItems:s});case 8:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})},{key:"updateProducts",value:(n=Object(i.a)(o.a.mark((function e(t){var n,r,i,a,s,c,u,l,p,m,d,h,v,f,g,x,y,E,_,k,b,S;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t,i=this.props,a=i.__unstableProductOrigin,s=i.__unstableProductOriginVtex,c=void 0!==s&&s,u=i.simulationBehavior,l=void 0===u?"default":u,p=i.hideUnavailableItems,m=void 0!==p&&p,d=i.orderBy,h=this.state.queryFromHover,r){e.next=6;break}return this.setState({products:[],totalProducts:0}),e.abrupt("return");case 6:return a&&console.warn("The prop `__unstableProductOrigin` has been deprecated. Use the boolean prop `__unstableProductOriginVtex` instead."),this.setState({isProductsLoading:!0}),e.next=10,te(this.props.runtime.rootPath);case 10:return v=e.sent,f=null!==(n=null==v?void 0:v.map((function(e){return e.value})))&&void 0!==n?n:[],g={showSponsored:!0,sponsoredCount:2,repeatSponsoredProducts:!1,advertisementPlacement:"autocomplete"},e.next=15,this.client.suggestionProducts(r,h?h.key:void 0,h?h.value:void 0,"VTEX"===a||c,l,m,d,this.props.maxSuggestedProducts||3,f,g);case 15:x=e.sent,h||(y=x.data.productSuggestions,E=y.count,_=y.operator,k=y.misspelled,ee(this.props.push,_,k,E,r)),this.setState({isProductsLoading:!1}),b=x.data.productSuggestions,S=b.products.slice(0,this.getProductCount()),this.setState({products:S,totalProducts:b.count,searchId:b.searchId||""});case 21:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},{key:"updateTopSearches",value:(t=Object(i.a)(o.a.mark((function e(){var t,n,r,i,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.client.topSearches();case 2:t=e.sent,n=t.data.topSearches.searches,r=this.props.maxTopSearches,i=void 0===r?10:r,a=n.slice(0,i).map((function(e,t){return{prefix:m.a.createElement(m.a.Fragment,null,"".concat(t+1),m.a.createElement(h.FormattedMessage,{id:"store/ordinalNumber"})),value:e.term,label:e.term,link:"/".concat(e.term,"?map=ft")}})),this.setState({topSearchedItems:a});case 7:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"updateHistory",value:function(){var e=this.client.searchHistory().slice(0,this.props.maxHistory||5).map((function(e){return{label:(t=e,t.replace(/\$2F/gi,"/")),value:e,link:"/".concat(e,"?map=ft"),icon:m.a.createElement(x.a,null)};var t}));this.setState({history:e})}},{key:"renderSuggestions",value:function(){var e=this,t=!!this.state.suggestionItems&&this.state.suggestionItems.length>0,n=t?m.a.createElement(h.FormattedMessage,{id:"store/suggestions"}):m.a.createElement(h.FormattedMessage,{id:"store/emptySuggestion"});return m.a.createElement(G,{title:n,items:this.state.suggestionItems||[],modifier:"suggestion",showTitle:!t||!this.props.hideTitles,onItemHover:this.handleItemHover,showTitleOnEmpty:0!==this.props.maxSuggestedTerms,onItemClick:function(t,n){Y(e.props.push,e.props.runtime.page,Z.SearchSuggestionClick)(t,n),e.closeModal()},customPage:this.props.customPage,closeModal:function(){return e.closeModal()}})}},{key:"contentWhenQueryIsEmpty",value:function(){var e=this;return m.a.createElement("div",{className:N.a["history-and-top-wrapper"],style:{flexDirection:this.props.historyFirst?"row-reverse":"row"}},!this.props.isMobile||this.props.isMobile&&!this.props.historyFirst||0===this.state.history.length?m.a.createElement(G,{modifier:"top-search",title:m.a.createElement(h.FormattedMessage,{id:"store/topSearches"}),items:this.state.topSearchedItems||[],showTitle:!this.props.hideTitles,onItemClick:function(t,n){Y(e.props.push,e.props.runtime.page,Z.TopSearchClick)(t,n),e.closeModal()},customPage:this.props.customPage,closeModal:function(){return e.closeModal()}}):null,!this.props.isMobile||this.props.isMobile&&this.props.historyFirst?m.a.createElement(G,{modifier:"history",title:m.a.createElement(h.FormattedMessage,{id:"store/history"}),items:this.state.history||[],showTitle:!this.props.hideTitles,onItemClick:function(t,n){Y(e.props.push,e.props.runtime.page,Z.HistoryClick)(t,n),e.closeModal()},customPage:this.props.customPage,closeModal:function(){return e.closeModal()}}):null)}},{key:"contentWhenQueryIsNotEmpty",value:function(){var e=this,t=this.state,n=t.products,r=t.totalProducts,o=t.isProductsLoading,i=t.searchId,a=this.props,s=a.hideTitles,c=a.push,u=a.runtime,l=a.inputValue,p=l.replace(/\//gi,"$2F");return m.a.createElement(m.a.Fragment,null,this.renderSuggestions(),m.a.createElement(z,{term:p||"",customPage:this.props.customPage,shelfProductCount:this.getProductCount(),title:m.a.createElement(h.FormattedMessage,{id:"store/suggestedProducts",values:{term:l}}),products:n||[],showTitle:!s,totalProducts:r||0,layout:this.getProductLayout(),isLoading:o,onProductClick:function(t,n,r){!function(e,t){return function(n,r,o){return e({page:t,event:"autocomplete",eventType:Z.ProductClick,product:{productId:n,position:r},term:o})}}(c,u.page)(t,n,r),e.closeModal()},onSeeAllClick:function(t){!function(e,t){return function(n){return e({page:t,event:"autocomplete",eventType:Z.SeeAllClick,search:{term:n}})}}(c,u.page)(t),e.closeModal()},HorizontalProductSummary:this.props.HorizontalProductSummary,searchId:i}))}},{key:"renderContent",value:function(){var e=this.props.inputValue.trim();return e&&""!==e?this.contentWhenQueryIsNotEmpty():this.contentWhenQueryIsEmpty()}},{key:"hasContent",value:function(){var e=this.state,t=e.topSearchedItems,n=e.suggestionItems,r=e.history,o=e.products;return t.length>0||n.length>0||r.length>0||o.length>0}},{key:"getProductCount",value:function(){var e=this.props,t=e.customBreakpoints,n=e.isMobile,r=e.maxSuggestedProducts,o=void 0===r?3:r;if(!window||n||!t)return o;var i=window.innerWidth;return t.md&&t.lg&&t.xlg?i>=t.xlg.width?t.xlg.maxSuggestedProducts:i>=t.lg.width?t.lg.maxSuggestedProducts:i>=t.md.width?t.md.maxSuggestedProducts:o:o}},{key:"render",value:function(){var e=this,t=this.props.isOpen&&this.hasContent()?"":N.a["biggy-js-container--hidden"];return m.a.createElement("div",{className:N.a["biggy-autocomplete-wrapper"],style:{width:this.props.autocompleteWidth?"".concat(this.props.autocompleteWidth,"vw"):void 0}},m.a.createElement("section",{ref:this.autocompleteRef,className:"".concat(N.a["biggy-autocomplete"]," ").concat(t," w-100"),style:{flexDirection:this.getProductLayout()===re.Horizontal?"column":"row"}},m.a.createElement(ie,{listName:"autocomplete-result-list"},this.renderContent(),this.props.isMobile?m.a.createElement("button",{onClick:function(){return e.closeModal()},className:N.a["close-btn"]},m.a.createElement(f.a,null)):null)))}}]),l}(m.a.Component),se=Object(L.withPixel)(k()(Object(d.withApollo)((oe=ae,function(e){return m.a.createElement(oe,Object(X.a)({},e,{runtime:Object(T.useRuntime)()}))}))));t.default=se}],[[40,"common"]]]); },function(){ !function(t){function e(e){for(var r,u,c=e[0],a=e[1],f=e[2],s=0,p=[];s=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}n.d(e,"a",(function(){return r}))},14:function(t,e,n){t.exports=n(28)},15:function(t,e,n){"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,"a",(function(){return r}))},19:function(t,e,n){"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=Object(o.usePixel)(),u=a.push,i=Object(r.useRef)(null),s=i.current;Object(r.useEffect)((function(){if(t&&!n&&s!==t){if(!e||Object(c.isEmpty)(e))return;Array.isArray(e)?e.forEach(u):u(e),i.current=t}}),[e,n,t,s,u])}},67:function(e,t,n){"use strict";n.r(t),function(e){var t=n(3);n.p=Object(t.getPublicPath)("vtex.store@2.145.0");var r=Object(t.register)((function(){return n(68)}),e,"vtex.store@2.145.0","vtex.store@2.x","HomeWrapper");r.renderHotReload,r.setupHMR}.call(this,n(9)(e))},68:function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r),c=n(1),a=n(29),u=n.n(a),i=n(30),s=n.n(i),_=n(6);t.default=function(e){var t=e.children,n=Object(c.useRuntime)(),a=n.account,i=n.route,p=(0,n.getSettings)("vtex.store").searchTermPath,l=Object(r.useMemo)((function(){return c.canUseDOM?[{event:"pageInfo",eventType:"homeView",accountName:a,pageTitle:document.title,pageUrl:location.href,pageCategory:"Home"}]:null}),[a]);return Object(_.a)(l,i.routeId),o.a.createElement(r.Fragment,null,o.a.createElement(u.a,{searchTermPath:p}),o.a.createElement(s.a,null),t)}},7:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.pixel-manager@1.x/PixelContext"]}},[[67,"common"]]]); },function(){ (window.webpackJsonpvtex_store_2_145_0=window.webpackJsonpvtex_store_2_145_0||[]).push([[1],{24:function(t,e,r){"use strict";r.d(e,"a",(function(){return c}));var o=r(0),n=r.n(o),i=r(40),s=r.n(i),a=((()=>{const t=async(t,e,r,o)=>{const n=new URL(e,t).toString(),i=o?{"content-type":"application/json"}:void 0;return s()(n,{body:o?JSON.stringify(o):void 0,method:r,headers:{accept:"application/json",...i}}).then(t=>{if(!t.ok)throw console.error({description:"HTTP error",response:t}),new Error("HTTP error! status: "+t.status);return t.json()})}})(),"undefined"!=typeof globalThis&&globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}),h=Symbol.for("vtex.ads.react.context"),u=a[h],f=null!=u?u:function(){const t=Object(o.createContext)(void 0);return a[h]=t,t}();function c({identity:t,hydrationStrategy:e,children:r}){if(!t||!e)throw new Error("AdsProvider requires both identity and hydrationStrategy props");return n.a.createElement(f.Provider,{value:{identity:t,hydrationStrategy:{fetcher:e.fetcher,matcher:e.matcher,key:e.key}}},r)}},40:function(t,e){var r="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global,o=function(){function t(){this.fetch=!1,this.DOMException=r.DOMException}return t.prototype=r,new t}();!function(t){!function(e){var r=void 0!==t&&t||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},o="URLSearchParams"in r,n="Symbol"in r&&"iterator"in Symbol,i="FileReader"in r&&"Blob"in r&&function(){try{return new Blob,!0}catch(t){return!1}}(),s="FormData"in r,a="ArrayBuffer"in r;if(a)var h=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],u=ArrayBuffer.isView||function(t){return t&&h.indexOf(Object.prototype.toString.call(t))>-1};function f(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function c(t){return"string"!=typeof t&&(t=String(t)),t}function d(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return n&&(e[Symbol.iterator]=function(){return e}),e}function l(t){this.map={},t instanceof l?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){if(2!=t.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+t.length);this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function y(t){if(!t._noBody)return t.bodyUsed?Promise.reject(new TypeError("Already read")):void(t.bodyUsed=!0)}function p(t){return new Promise((function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}}))}function b(t){var e=new FileReader,r=p(e);return e.readAsArrayBuffer(t),r}function w(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function m(){return this.bodyUsed=!1,this._initBody=function(t){var e;this.bodyUsed=this.bodyUsed,this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:i&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:s&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():a&&i&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=w(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a&&(ArrayBuffer.prototype.isPrototypeOf(t)||u(t))?this._bodyArrayBuffer=w(t):this._bodyText=t=Object.prototype.toString.call(t):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i&&(this.blob=function(){var t=y(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var t=y(this);return t||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}if(i)return this.blob().then(b);throw new Error("could not read as ArrayBuffer")},this.text=function(){var t,e,r,o,n,i=y(this);if(i)return i;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,r=p(e),o=/charset=([A-Za-z0-9_-]+)/.exec(t.type),n=o?o[1]:"utf-8",e.readAsText(t,n),r;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),o=0;o-1?n:o),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal||function(){if("AbortController"in r)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(i),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==e.cache&&"no-cache"!==e.cache)){var s=/([?&])_=[^&]*/;if(s.test(this.url))this.url=this.url.replace(s,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function E(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var r=t.split("="),o=r.shift().replace(/\+/g," "),n=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(o),decodeURIComponent(n))}})),e}function T(t,e){if(!(this instanceof T))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===e.statusText?"":""+e.statusText,this.headers=new l(e.headers),this.url=e.url||"",this._initBody(t)}g.prototype.clone=function(){return new g(this,{body:this._bodyInit})},m.call(g.prototype),m.call(T.prototype),T.prototype.clone=function(){return new T(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},T.error=function(){var t=new T(null,{status:200,statusText:""});return t.ok=!1,t.status=0,t.type="error",t};var _=[301,302,303,307,308];T.redirect=function(t,e){if(-1===_.indexOf(e))throw new RangeError("Invalid status code");return new T(null,{status:e,headers:{location:t}})},e.DOMException=r.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function A(t,o){return new Promise((function(n,s){var h=new g(t,o);if(h.signal&&h.signal.aborted)return s(new e.DOMException("Aborted","AbortError"));var u=new XMLHttpRequest;function d(){u.abort()}if(u.onload=function(){var t,e,r={statusText:u.statusText,headers:(t=u.getAllResponseHeaders()||"",e=new l,t.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(t){return 0===t.indexOf("\n")?t.substr(1,t.length):t})).forEach((function(t){var r=t.split(":"),o=r.shift().trim();if(o){var n=r.join(":").trim();try{e.append(o,n)}catch(t){console.warn("Response "+t.message)}}})),e)};0===h.url.indexOf("file://")&&(u.status<200||u.status>599)?r.status=200:r.status=u.status,r.url="responseURL"in u?u.responseURL:r.headers.get("X-Request-URL");var o="response"in u?u.response:u.responseText;setTimeout((function(){n(new T(o,r))}),0)},u.onerror=function(){setTimeout((function(){s(new TypeError("Network request failed"))}),0)},u.ontimeout=function(){setTimeout((function(){s(new TypeError("Network request timed out"))}),0)},u.onabort=function(){setTimeout((function(){s(new e.DOMException("Aborted","AbortError"))}),0)},u.open(h.method,function(t){try{return""===t&&r.location.href?r.location.href:t}catch(e){return t}}(h.url),!0),"include"===h.credentials?u.withCredentials=!0:"omit"===h.credentials&&(u.withCredentials=!1),"responseType"in u&&(i?u.responseType="blob":a&&(u.responseType="arraybuffer")),o&&"object"==typeof o.headers&&!(o.headers instanceof l||r.Headers&&o.headers instanceof r.Headers)){var y=[];Object.getOwnPropertyNames(o.headers).forEach((function(t){y.push(f(t)),u.setRequestHeader(t,c(o.headers[t]))})),h.headers.forEach((function(t,e){-1===y.indexOf(e)&&u.setRequestHeader(e,t)}))}else h.headers.forEach((function(t,e){u.setRequestHeader(e,t)}));h.signal&&(h.signal.addEventListener("abort",d),u.onreadystatechange=function(){4===u.readyState&&h.signal.removeEventListener("abort",d)}),u.send(void 0===h._bodyInit?null:h._bodyInit)}))}A.polyfill=!0,r.fetch||(r.fetch=A,r.Headers=l,r.Request=g,r.Response=T),e.Headers=l,e.Request=g,e.Response=T,e.fetch=A}({})}(o),o.fetch.ponyfill=!0,delete o.fetch.polyfill;var n=r.fetch?r:o;(e=n.fetch).default=n.fetch,e.fetch=n.fetch,e.Headers=n.Headers,e.Request=n.Request,e.Response=n.Response,t.exports=e}}]); },function(){ (window.webpackJsonpvtex_store_2_145_0=window.webpackJsonpvtex_store_2_145_0||[]).push([[0],{20:function(r,e,t){"use strict";const n=t(75),o=t(76),a=t(77),s=t(78),c=Symbol("encodeFragmentIdentifier");function i(r){if("string"!=typeof r||1!==r.length)throw new TypeError("arrayFormatSeparator must be single character string")}function u(r,e){return e.encode?e.strict?n(r):encodeURIComponent(r):r}function l(r,e){return e.decode?o(r):r}function p(r){const e=r.indexOf("#");return-1!==e&&(r=r.slice(0,e)),r}function f(r){const e=(r=p(r)).indexOf("?");return-1===e?"":r.slice(e+1)}function y(r,e){return e.parseNumbers&&!Number.isNaN(Number(r))&&"string"==typeof r&&""!==r.trim()?r=Number(r):!e.parseBooleans||null===r||"true"!==r.toLowerCase()&&"false"!==r.toLowerCase()||(r="true"===r.toLowerCase()),r}function d(r,e){i((e=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},e)).arrayFormatSeparator);const t=function(r){let e;switch(r.arrayFormat){case"index":return(r,t,n)=>{e=/\[(\d*)\]$/.exec(r),r=r.replace(/\[\d*\]$/,""),e?(void 0===n[r]&&(n[r]={}),n[r][e[1]]=t):n[r]=t};case"bracket":return(r,t,n)=>{e=/(\[\])$/.exec(r),r=r.replace(/\[\]$/,""),e?void 0!==n[r]?n[r]=[].concat(n[r],t):n[r]=[t]:n[r]=t};case"comma":case"separator":return(e,t,n)=>{const o="string"==typeof t&&t.includes(r.arrayFormatSeparator),a="string"==typeof t&&!o&&l(t,r).includes(r.arrayFormatSeparator);t=a?l(t,r):t;const s=o||a?t.split(r.arrayFormatSeparator).map(e=>l(e,r)):null===t?t:l(t,r);n[e]=s};case"bracket-separator":return(e,t,n)=>{const o=/(\[\])$/.test(e);if(e=e.replace(/\[\]$/,""),!o)return void(n[e]=t?l(t,r):t);const a=null===t?[]:t.split(r.arrayFormatSeparator).map(e=>l(e,r));void 0!==n[e]?n[e]=[].concat(n[e],a):n[e]=a};default:return(r,e,t)=>{void 0!==t[r]?t[r]=[].concat(t[r],e):t[r]=e}}}(e),n=Object.create(null);if("string"!=typeof r)return n;if(!(r=r.trim().replace(/^[?#&]/,"")))return n;for(const o of r.split("&")){if(""===o)continue;let[r,s]=a(e.decode?o.replace(/\+/g," "):o,"=");s=void 0===s?null:["comma","separator","bracket-separator"].includes(e.arrayFormat)?s:l(s,e),t(l(r,e),s,n)}for(const r of Object.keys(n)){const t=n[r];if("object"==typeof t&&null!==t)for(const r of Object.keys(t))t[r]=y(t[r],e);else n[r]=y(t,e)}return!1===e.sort?n:(!0===e.sort?Object.keys(n).sort():Object.keys(n).sort(e.sort)).reduce((r,e)=>{const t=n[e];return Boolean(t)&&"object"==typeof t&&!Array.isArray(t)?r[e]=function r(e){return Array.isArray(e)?e.sort():"object"==typeof e?r(Object.keys(e)).sort((r,e)=>Number(r)-Number(e)).map(r=>e[r]):e}(t):r[e]=t,r},Object.create(null))}e.extract=f,e.parse=d,e.stringify=(r,e)=>{if(!r)return"";i((e=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},e)).arrayFormatSeparator);const t=t=>e.skipNull&&null==r[t]||e.skipEmptyString&&""===r[t],n=function(r){switch(r.arrayFormat){case"index":return e=>(t,n)=>{const o=t.length;return void 0===n||r.skipNull&&null===n||r.skipEmptyString&&""===n?t:null===n?[...t,[u(e,r),"[",o,"]"].join("")]:[...t,[u(e,r),"[",u(o,r),"]=",u(n,r)].join("")]};case"bracket":return e=>(t,n)=>void 0===n||r.skipNull&&null===n||r.skipEmptyString&&""===n?t:null===n?[...t,[u(e,r),"[]"].join("")]:[...t,[u(e,r),"[]=",u(n,r)].join("")];case"comma":case"separator":case"bracket-separator":{const e="bracket-separator"===r.arrayFormat?"[]=":"=";return t=>(n,o)=>void 0===o||r.skipNull&&null===o||r.skipEmptyString&&""===o?n:(o=null===o?"":o,0===n.length?[[u(t,r),e,u(o,r)].join("")]:[[n,u(o,r)].join(r.arrayFormatSeparator)])}default:return e=>(t,n)=>void 0===n||r.skipNull&&null===n||r.skipEmptyString&&""===n?t:null===n?[...t,u(e,r)]:[...t,[u(e,r),"=",u(n,r)].join("")]}}(e),o={};for(const e of Object.keys(r))t(e)||(o[e]=r[e]);const a=Object.keys(o);return!1!==e.sort&&a.sort(e.sort),a.map(t=>{const o=r[t];return void 0===o?"":null===o?u(t,e):Array.isArray(o)?0===o.length&&"bracket-separator"===e.arrayFormat?u(t,e)+"[]":o.reduce(n(t),[]).join("&"):u(t,e)+"="+u(o,e)}).filter(r=>r.length>0).join("&")},e.parseUrl=(r,e)=>{e=Object.assign({decode:!0},e);const[t,n]=a(r,"#");return Object.assign({url:t.split("?")[0]||"",query:d(f(r),e)},e&&e.parseFragmentIdentifier&&n?{fragmentIdentifier:l(n,e)}:{})},e.stringifyUrl=(r,t)=>{t=Object.assign({encode:!0,strict:!0,[c]:!0},t);const n=p(r.url).split("?")[0]||"",o=e.extract(r.url),a=e.parse(o,{sort:!1}),s=Object.assign(a,r.query);let i=e.stringify(s,t);i&&(i="?"+i);let l=function(r){let e="";const t=r.indexOf("#");return-1!==t&&(e=r.slice(t)),e}(r.url);return r.fragmentIdentifier&&(l="#"+(t[c]?u(r.fragmentIdentifier,t):r.fragmentIdentifier)),`${n}${i}${l}`},e.pick=(r,t,n)=>{n=Object.assign({parseFragmentIdentifier:!0,[c]:!1},n);const{url:o,query:a,fragmentIdentifier:i}=e.parseUrl(r,n);return e.stringifyUrl({url:o,query:s(a,t),fragmentIdentifier:i},n)},e.exclude=(r,t,n)=>{const o=Array.isArray(t)?r=>!t.includes(r):(r,e)=>!t(r,e);return e.pick(r,o,n)}},75:function(r,e,t){"use strict";r.exports=r=>encodeURIComponent(r).replace(/[!'()*]/g,r=>"%"+r.charCodeAt(0).toString(16).toUpperCase())},76:function(r,e,t){"use strict";var n=new RegExp("%[a-f0-9]{2}","gi"),o=new RegExp("(%[a-f0-9]{2})+","gi");function a(r,e){try{return decodeURIComponent(r.join(""))}catch(r){}if(1===r.length)return r;e=e||1;var t=r.slice(0,e),n=r.slice(e);return Array.prototype.concat.call([],a(t),a(n))}function s(r){try{return decodeURIComponent(r)}catch(o){for(var e=r.match(n),t=1;t{if("string"!=typeof r||"string"!=typeof e)throw new TypeError("Expected the arguments to be of type `string`");if(""===e)return[r];const t=r.indexOf(e);return-1===t?[r]:[r.slice(0,t),r.slice(t+e.length)]}},78:function(r,e,t){"use strict";r.exports=function(r,e){for(var t={},n=Object.keys(r),o=Array.isArray(e),a=0;a1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=Object(o.usePixel)(),c=i.push,u=Object(n.useRef)(null),s=u.current;Object(n.useEffect)((function(){if(t&&!r&&s!==t){if(!e||Object(a.isEmpty)(e))return;Array.isArray(e)?e.forEach(c):c(e),u.current=t}}),[e,r,t,s,c])}},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.pixel-manager@1.x/PixelContext"]},,,function(e,t,r){"use strict";r.d(t,"a",(function(){return o})),r.d(t,"b",(function(){return a}));var n=["firstName","lastName","document","id","email","phone","isAuthenticated"],o=function(){return window.__RENDER_8_SESSION__&&window.__RENDER_8_SESSION__.sessionPromise?window.__RENDER_8_SESSION__.sessionPromise:Promise.resolve(null)};function a(e){return e?n.reduce((function(t,r){var n,o=null===(n=e[r])||void 0===n?void 0:n.value;return o&&(t[r]="isAuthenticated"===r?function(e){return"true"===e.toLowerCase()}(o):o),t}),{}):{}}},function(e,t,r){"use strict";r.d(t,"b",(function(){return i}));var n=r(0),o=r(1),a=r(6),i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.title,r=e.cacheKey,i=e.skip,c=Object(o.useRuntime)(),u=c.route,s=c.account,l=null!=r?r:u.routeId,d=Object(n.useMemo)((function(){return!o.canUseDOM||i?null:{event:"pageView",pageTitle:null!=t?t:document.title,pageUrl:location.href,referrer:0===document.referrer.indexOf(location.origin)?void 0:document.referrer,accountName:s,routeId:(null==u?void 0:u.routeId)?u.routeId:""}}),[s,t,o.canUseDOM,l]);Object(a.a)(i?null:d,l)},c=["store.search","store.product"];t.a=function(e){var t=e.title,r=Object(o.useRuntime)().route,n=r&&c.some((function(e){return 0===r.routeId.indexOf(e)}));return i({title:t,skip:n}),null}},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(1);function o(){var e=Object(n.useRuntime)(),t=e.route,r=e.rootPath,o=void 0===r?"":r,a=t.canonicalPath,i=window.__hostname__||window.location&&window.location.hostname;return i&&a?"https://".concat(i).concat(o).concat(a):null}},,,,function(e,t,r){"use strict";var n=r(0),o=r.n(n);t.a=function(e){var t=e.children,r=e.className;return o.a.createElement("div",{className:r},o.a.createElement("div",{className:"flex flex-column min-vh-100 w-100"},t))}},function(e,t,r){"use strict";r.d(t,"a",(function(){return v}));var n=r(14),o=r.n(n),a=r(23),i=r(4),c=r(0),u=r.n(c),s=r(24),l=r(18),d=r.n(l),p=r(5),f=r(1),m=r(10),O=function(e,t){var r=e.items.find((function(e){return e.itemId===t.skuId&&e.sellers.some((function(e){return e.sellerId===t.sellerId}))}));if(void 0===r)return!1;var n=r.sellers.find((function(e){return e.sellerId===t.sellerId}));return!!n&&(r.sellers=[n],e.items=[r],!0)},v=function(e){var t,r=e.children,n=Object(f.useRuntime)(),l=n.account,v=null===(t=(0,n.getSettings)("vtex.store"))||void 0===t?void 0:t.publisherId,h=Object(c.useState)(void 0),_=Object(i.a)(h,2),b=_[0],g=_[1],x=Object(c.useState)("session-id"),E=Object(i.a)(x,2),j=E[0],y=E[1];Object(c.useEffect)((function(){Object(m.a)().then((function(e){var t,r,n,o,a=null===(r=null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.namespaces)||void 0===r?void 0:r.profile;if(a){y(null!==(o=null===(n=e.response)||void 0===n?void 0:n.id)&&void 0!==o?o:"session-id");var i=Object(m.b)(a);g(i.id)}})).catch((function(){}))}),[]);var N=Object(p.useApolloClient)(),R=function(){var e=Object(a.a)(o.a.mark((function e(t){var r,n,a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(0!==t.length){e.next=2;break}return e.abrupt("return",[]);case 2:return e.prev=2,n=t.map((function(e){return e.skuId})).join(";"),e.next=6,N.query({query:d.a,variables:{fullText:"sku.id:".concat(n)}});case 6:return a=e.sent,i=a.data,e.abrupt("return",null!==(r=null==i?void 0:i.productSearch.products)&&void 0!==r?r:[]);case 11:return e.prev=11,e.t0=e.catch(2),e.abrupt("return",[]);case 14:case"end":return e.stop()}}),e,null,[[2,11]])})));return function(t){return e.apply(this,arguments)}}();return v?u.a.createElement(s.a,{identity:{accountName:l,publisherId:v,userId:b,sessionId:j,channel:"site"},hydrationStrategy:{fetcher:R,matcher:O,key:"sf"}},r):r}},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.store-resources@0.x/QueryProductSearchV3"]},,,,,,,,,function(e,t){e.exports=ReactIntl},function(e,t){e.exports=regeneratorRuntime},,,,,,,,,,,,,,,function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.styleguide@9.x/ToastProvider"]},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.store-resources@0.x/PWAContext"]},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.order-manager@0.x/OrderQueue"]},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.order-items@0.x/OrderItems"]},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.order-manager@0.x/OrderForm"]},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.shipping-option-components@1.x/ShippingOptionContext"]},,,function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.store-resources@0.x/MutationAddToCart"]},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.store-resources@0.x/MutationUpdateItems"]},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.store-resources@0.x/MutationUpdateOrderFormProfile"]},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.store-resources@0.x/MutationUpdateOrderFormShipping"]},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.store-resources@0.x/MutationUpdateOrderFormCheckin"]},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.store-resources@0.x/OrderFormContext"]},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.store-resources@0.x/QueryOrderForm"]},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.styleguide@9.x/ToastContext"]},,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";r.r(t),function(e){var t=r(3);r.p=Object(t.getPublicPath)("vtex.store@2.145.0");var n=Object(t.register)((function(){return r(81)}),e,"vtex.store@2.145.0","vtex.store@2.x","StoreWrapper");n.renderHotReload,n.setupHMR}.call(this,r(9)(e))},,function(e,t,r){"use strict";r.r(t);var n=r(25),o=r(4),a=r(8),i=r(0),c=r.n(i),u=r(1),s=r(7),l=r(43),d=r.n(l),p=r(44),f=r(45),m=r(46),O=r(47),v=r(48),h=r(10),_=function(){var e=Object(s.usePixel)().push;return Object(i.useEffect)((function(){Object(h.a)().then((function(t){var r,n,o=null===(n=null===(r=null==t?void 0:t.response)||void 0===r?void 0:r.namespaces)||void 0===n?void 0:n.profile;if(o){var a=Object(h.b)(o);e(Object.assign({event:"userData"},a))}}))}),[e]),null},b=r(11),g=r(49),x=r(50),E=r(15),j=r(59),y=r(60),N=r(26),R=r(5),S=r(51),w=r.n(S),P=r(52),C=r.n(P),F=r(53),M=r.n(F),T=r(54),I=r.n(T),D=r(55),k=r.n(D),A=r(56),q=r(57),U=r.n(q);function W(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=Object(N.a)(e);if(t){var o=Object(N.a)(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return Object(y.a)(this,r)}}var L=function(e){Object(j.a)(r,e);var t=W(r);function r(){var e;Object(g.a)(this,r);for(var n=arguments.length,o=new Array(n),i=0;i=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,c=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return i=e.done,e},e:function(e){c=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(c)throw a}}}}function Z(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0})),script:[T&&{type:"text/javascript",src:"".concat(C,"/register.js").concat(X).concat(B?"":"&__disableSW=true","&scope=").concat(encodeURIComponent(C)),defer:!0}].filter(Boolean),link:[].concat(Object(n.a)(Z||[]),Object(n.a)(!l&&Y?[{rel:"canonical",href:encodeURI(Y)}]:[])).filter(Boolean)}),c.a.createElement(s.PixelProvider,{currency:E},c.a.createElement(p.PWAProvider,{rootPath:C},c.a.createElement(b.a,{title:V}),c.a.createElement(_,null),c.a.createElement(d.a,{positioning:"window"},c.a.createElement(K,null),L?ae:c.a.createElement(Q,null,ae)))),function(){try{return u.canUseDOM&&window.top!==window.self&&window.top.__provideRuntime}catch(e){return!1}}()&&c.a.createElement(u.NoSSR,null,c.a.createElement(u.ExtensionPoint,{id:"highlight-overlay"})))}}],[[79,"common",1,0]]]); },function(){ (window.webpackJsonpvtex_store_2_145_0=window.webpackJsonpvtex_store_2_145_0||[]).push([["DefaultChallenge"],{63:function(e,t,n){"use strict";n.r(t),function(e){var t=n(3);n.p=Object(t.getPublicPath)("vtex.store@2.145.0");var r=Object(t.register)((function(){return n(64)}),e,"vtex.store@2.145.0","vtex.store@2.x","DefaultChallenge");r.renderHotReload,r.setupHMR}.call(this,n(9)(e))},64:function(e,t,n){"use strict";n.r(t);t.default=function(e){return e.children}}},[[63,"common"]]]); },function(){ !function(e){function t(t){for(var n,o,u=t[0],c=t[1],l=t[2],s=0,d=[];s=0||(o[r]=e[r]);return o}},32:function(e,t){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}},33:function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},6:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,"a",(function(){return n}))},7:function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0},e.prototype.connect_=function(){c&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),l?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){c&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;f.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),d=function(e,t){for(var n=0,r=Object.keys(t);n0},e}(),M="undefined"!=typeof WeakMap?new WeakMap:new a,T=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=h.getInstance(),r=new j(t,n,this);M.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){T.prototype[e]=function(){var t;return(t=M.get(this))[e].apply(t,arguments)}}));var S=void 0!==u.ResizeObserver?u.ResizeObserver:T,R=function(e){var t=[],n=null,r=function(){for(var r=arguments.length,o=new Array(r),i=0;i=t||n<0||l&&e-s>=i}function b(){var e=P();if(v(e))return y(e);c=setTimeout(b,function(e){var n=t-(e-u);return l?ee(n,i-(e-s)):n}(e))}function y(e){return c=void 0,h&&r?d(e):(r=o=void 0,a)}function m(){var e=P(),n=v(e);if(r=arguments,o=this,u=e,n){if(void 0===c)return p(u);if(l)return clearTimeout(c),c=setTimeout(b,t),d(u)}return void 0===c&&(c=setTimeout(b,t)),a}return t=Y(t)||0,z(n)&&(f=!!n.leading,i=(l="maxWait"in n)?Z(Y(n.maxWait)||0,t):i,h="trailing"in n?!!n.trailing:h),m.cancel=function(){void 0!==c&&clearTimeout(c),s=0,r=u=o=c=void 0},m.flush=function(){return void 0===c?a:y(P())},m};var ne=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return z(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),te(e,t,{leading:r,maxWait:t,trailing:o})},re={debounce:te,throttle:ne},oe=function(e){return"function"==typeof e},ie=function(){return"undefined"==typeof window};function ae(e){return(ae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ue(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:{},n=e.hideEmptyCols,o=void 0!==n&&n,r=t.reduce((function(t,e){var n="grow"===e.width,o="number"==typeof e.width?t.availableWidth-e.width:0;return{availableWidth:n?0:o,remainingColsNum:t.remainingColsNum+(e.hasDefinedWidth?0:1),hasAnyWidthGrow:t.hasAnyWidthGrow||n}}),{availableWidth:100,remainingColsNum:0,hasAnyWidthGrow:!1}),i=r.availableWidth,a=r.remainingColsNum,c=r.hasAnyWidthGrow;if(i<0&&!c){var d=-100/i;t=t.map((function(t){return Object.assign(Object.assign({},t),{width:"number"==typeof t.width?t.width*d:t.width})}))}return t.map((function(t){var e="number"==typeof t.width?"".concat(t.width,"%"):t.width;return{element:t.element,width:t.hasDefinedWidth?e:"".concat(Math.floor(Math.max(0,i)/(o?1:a)),"%"),hasDefinedWidth:t.hasDefinedWidth}}))};var m,w,v,g=n(14),O=n.n(g);!function(t){t.equal="equal",t.auto="auto"}(w||(w={})),function(t){t.between="between",t.around="around",t.left="left",t.right="right",t.center="center"}(v||(v={}));var j=(m={},Object(r.a)(m,v.between,"justify-between"),Object(r.a)(m,v.around,"justify-around"),Object(r.a)(m,v.left,"justify-start"),Object(r.a)(m,v.center,"justify-center"),Object(r.a)(m,v.right,"justify-end"),m),y=["flexRowContent"],W=function(t){var e=t.children,n=t.colGap,r=t.rowGap,i=t.marginTop,c=t.marginBottom,d=t.paddingTop,p=t.paddingBottom,m=t.border,g=t.borderWidth,W=t.borderColor,x=t.preserveLayoutOnMobile,C=t.preventHorizontalStretch,G=t.preventVerticalStretch,k=t.horizontalAlign,R=t.colSizing,E=t.colJustify,D=void 0===E?v.between:E,N=t.experimentalHideEmptyCols,_=void 0!==N&&N,M=Object(u.c)(),A=l()(y),B=Object(f.d)({colGap:null!=n?n:M.colGap,rowGap:null!=r?r:M.rowGap}),L=Object(f.b)({marginTop:i,marginBottom:c}),P=Object(f.c)({paddingTop:d,paddingBottom:p}),T=Object(f.a)({border:m,borderWidth:g,borderColor:W}),S=function(t,e){var n="phone"===h()().device,o=e||{},r=o.preserveLayoutOnMobile,i=void 0!==r&&r,c=o.hideEmptyCols,d=void 0!==c&&c,l=a.a.Children.toArray(t).map((function(t){if(!(e=t)||!e.props)return{element:t,width:0,hasDefinedWidth:!1,isResponsive:!0};var e,o=Object(f.e)(t.props.width||t.props.blockProps&&t.props.blockProps.width);return o&&"object"===Object(s.a)(o)?{element:t,width:n?o.mobile||0:o.desktop||0,hasDefinedWidth:!0,isResponsive:!0}:!i&&n?{element:t,width:0,hasDefinedWidth:!1,isResponsive:!1}:"number"==typeof o||"string"==typeof o?{element:t,width:o,hasDefinedWidth:!0,isResponsive:!1}:{element:t,width:0,hasDefinedWidth:!1,isResponsive:!0}})),u=l.some((function(t){return t.isResponsive})),p=!i&&n&&!u;return{cols:b(l,{hideEmptyCols:d}),breakOnMobile:p}}(e,{preserveLayoutOnMobile:x,hideEmptyCols:_}),I=S.cols,z=S.breakOnMobile,J=R===w.auto,q=J?j[D]:j.left;return null!=k&&(q=j[k]),a.a.createElement(u.a,Object(o.a)({parent:u.b.ROW},B),a.a.createElement("div",{className:"".concat(z?"flex-none flex-ns":"flex"," ").concat(L," ").concat(P," ").concat(T," ").concat(q," ").concat(A.flexRowContent," items-stretch w-100")},I.map((function(t,e){var n=e===I.length-1,o=n?0:B.colGap,r=n?0:B.rowGap;return a.a.createElement("div",{key:e,className:"".concat(z?"pr".concat(o,"-ns pb").concat(r," pb0-ns"):"pr".concat(o)," ").concat(G?"":"items-stretch"," ").concat(C?"":O.a.stretchChildrenWidth," ").concat("grow"===t.width?"flex-grow-1":""," ").concat(_?O.a.col:""," flex"),style:{width:C||J&&!t.hasDefinedWidth?"auto":z?"100%":t.width}},t.element)}))))},x=Object(c.defineMessages)({title:{id:"admin/editor.row.title"},description:{id:"admin/editor.row.description"}});W.schema={title:x.title.id,description:x.description.id};e.default=W},14:function(t,e,n){t.exports={stretchChildrenWidth:"vtex-flex-layout-0-x-stretchChildrenWidth",col:"vtex-flex-layout-0-x-col"}},2:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return c})),n.d(e,"c",(function(){return d}));var o,r=n(0),i=n.n(r);!function(t){t.NONE="none",t.ROW="row",t.COL="col"}(o||(o={}));var a=i.a.createContext({parent:o.NONE,colGap:0,rowGap:0}),c=function(t){var e=t.parent,n=t.colGap,o=t.rowGap,c=t.children,d=Object(r.useMemo)((function(){return{parent:e,colGap:n,rowGap:o}}),[e,n,o]);return i.a.createElement(a.Provider,{value:d},c)},d=function(){return Object(r.useContext)(a)}},3:function(t,e,n){"use strict";n.d(e,"d",(function(){return c})),n.d(e,"e",(function(){return l})),n.d(e,"c",(function(){return s})),n.d(e,"b",(function(){return p})),n.d(e,"a",(function(){return f}));var o,r=n(7),i=n(1),a=function(t,e){return t?Object(i.range)(0,12).map(String).includes(String(t))?"string"==typeof t?parseInt(t,10):t:(e&&console.warn("Invalid ".concat(e,' value ("').concat(t,'"). It should be an integer between 0 and ').concat(11,".")),0):0},c=function(t){var e=Object(i.toPairs)(t).map((function(t){var e=Object(r.a)(t,2),n=e[0],o=e[1];return[n,a(o,n)]}));return Object(i.fromPairs)(e)},d=function(t){if("string"!=typeof t)return null;if("grow"===t)return"grow";var e=t.match(new RegExp("(\\d*)(".concat(["%"].join("|"),")")));if(!e)return null;var n=e[1];return null==n?null:parseInt(n,10)},l=(o=d,function(t){return function(t){return t&&null!=t.mobile&&null!=t.desktop}(t)?{mobile:o(t.mobile),desktop:o(t.desktop)}:o(t)}),u=function(t){return function(e){var n=Object(i.pick)(Object.keys(t),e),o=c(n);return Object(i.toPairs)(o).map((function(e){var n=Object(r.a)(e,2),o=n[0],i=n[1];return"".concat(t[o]).concat(i)})).join(" ")}},s=u({paddingTop:"pt",paddingBottom:"pb",paddingLeft:"pl",paddingRight:"pr"}),p=u({marginTop:"mt",marginBottom:"mb",marginLeft:"ml",marginRight:"mr"}),h={top:"bt",right:"br",bottom:"bb",left:"bl",all:"ba"},f=function(t){var e=t.border,n=t.borderWidth,o=t.borderColor,r=e?[].concat(e).map((function(t){return h[t]})).join(" "):"",i=n?"bw".concat(a(n,"bw")):"",c=o?"b--".concat(o.split(" ")[0]):"";return"".concat(r," ").concat(i," ").concat(c)}}}]); }], document.currentScript.dataset.index)